//
//  VCRoute.m
//  LCExpress
//
//  Created by mac1 on 15/10/23.
//  Copyright © 2015年 D0. All rights reserved.
//

#import "VCRoute.h"

@interface VCRoute ()

@property (nonatomic, strong) ZTTableView * tvRoute;

@end

@implementation VCRoute

- (void)viewDidLoad {
    
    [super viewDidLoad];
    
    [self addTableView];
    
    
    
    // Do any additional setup after loading the view.
}

-(void)addTableView
{
    
    self.tvRoute = [[ZTTableView alloc]initWithFrame:self.view.frame withStyle:UITableViewStylePlain];
    
    self.tvRoute.backgroundColor = [UIColor redColor];
    
    [self.view addSubview:self.tvRoute];
    
    self.tvRoute.showsVerticalScrollIndicator = NO;
    
    //self.tvRoute.separatorStyle = UITableViewCellSeparatorStyleNone;
    
    [self.tvRoute setNumberOfRowsInSection:^NSInteger(NSInteger section) {
        return 10;
    }];
    
    [self.tvRoute setAddContentIntoCell:^UITableViewCell *(UITableViewCell *cell, NSIndexPath *indexPath) {
        
        cell.backgroundColor = [UIColor whiteColor];
        
        return cell;
    }];
    
}

- (void)didReceiveMemoryWarning {
    
    [super didReceiveMemoryWarning];
    
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
